import request from '@/utils/request'

export function tenantInfoQuery(paramDataInfo) {
    return request({
        url: '/ywu/tenant/tenant.info.query',
        method: 'post',
        data: paramDataInfo
    })
}

export function tenantInfoCreate(paramDataInfo) {
    return request({
        url: '/ywu/tenant/tenant.info.create',
        method: 'post',
        data: paramDataInfo
    })
}

export function tenantInfoUpdate(paramDataInfo) {
    return request({
        url: '/ywu/tenant/tenant.info.update',
        method: 'post',
        data: paramDataInfo
    })
}

export function tenantInfoDelete(paramDataInfo) {
    return request({
        url: '/ywu/tenant/tenant.info.delete',
        method: 'post',
        data: paramDataInfo
    })
}

export function tenantAuthInfoCreate(paramDataInfo) {
    return request({
        url: '/ywu/tenant/tenant.user.authorize',
        method: 'post',
        data: paramDataInfo
    })
}

export function tenantAuthInfoDelete(paramDataInfo) {
    return request({
        url: '/ywu/tenant/tenant.user.auth.delete',
        method: 'post',
        data: paramDataInfo
    })
}

export function tenantAuthInfoQuery(paramDataInfo) {
    return request({
        url: '/ywu/tenant/tenant.user.authorize.info',
        method: 'post',
        data: paramDataInfo
    })
}